package com.zh.domain.vo.team;

import com.zh.domain.entity.Team;
import com.zh.domain.entity.TeamUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@ApiModel(value = "TeamUserVo", description = "团队成员视图")
public class TeamUserVo extends Team implements Serializable {
    @ApiModelProperty("团队成员id")
    private Integer userId;
    @ApiModelProperty("团队成员角色0 成员 1 管理员 2超级管理员")
    private Integer role;
}
